<?php

/**
* @current cmsjuryaction.php
* @author   LiuYang <liu_yang@haibao.com>
* @date 2017年2月8日 下午5:31:44
*/
namespace haibao\jiepai\model\data\article;

class CmsJuryAction extends \haibao\jiepai\model\data\Base{
	
    /**
     * 1.用户、2、游客
     */
    const TYPE_USER = 1;
    const TYPE_VISITOR = 2;
    
    /**
     * 1喜欢、0不喜欢
     */
    const ISLIKE_YES = 1;
    const ISLIKE_NO = 0;
    
    /**
     * 文章ID
     */
    public $ArticleID;
    
    public $FashionistaID;
    
    /**
     * 位置索引
     */
    public $ContentIndex;
    
    public $Type;
    
    public $CreateTime;
    
    public $TypeID;
    
    public $IsLike;
    
    /**
     * -1删除
     */
    public $Flag;
    
	public function __construct(){
		parent::__construct();
		
		$this->intField('ArticleID', 'ArticleID');
		$this->intField('FashionistaID', 'FashionistaID');
		$this->intField('ContentIndex', 'ContentIndex');
		$this->intField('Type', 'Type');
		$this->dateField('CreateTime', 'CreateTime');
		$this->intField('TypeID', 'TypeID');
		$this->intField('IsLike','IsLike');
		$this->intField('Flag', 'Flag');
		
		$this->setTableName('cms_jury_action');
	}
}

